package com.lwy.entity;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
    * 用户书架
    */
@Data
public class BookShelf {

    @TableId
    private Integer id;

    /**
    * 用户id
    */
    private Integer user_id;

    private Integer novel_id;

    private Integer chapter_id;

    /**
    * 数据状态
    */
    private Integer status;

    /**
    * 创建时间
    */
    private String create_time;

    /**
    * 更新时间
    */
    private String update_time;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @TableField(exist = false)
    private List<BookNove> list;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @TableField(exist = false)
    private List<BookNovelChapter> chapterList;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @TableField(exist = false)
    private BookNovelChapter bookNovelChapter;
}